namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// ——配置堆垛机 - 入库路线（扫描仪->堆垛机）
    /// </summary>
    public DbSet<POWcsAsrsNetInput> WcsAsrsNetInputs { get; set; }
}

/// <summary>
/// ——配置堆垛机 - 入库路线（扫描仪->堆垛机）
/// 表[wcs_asrs_net_input]
/// </summary>
[Table("wcs_asrs_net_input")]
public class POWcsAsrsNetInput
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[wcs_asrs_net_input.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 开始位置（比如：入库全景扫描）
    /// [wcs_asrs_net_input.start_loc)]
    /// </summary>
    [Column("start_loc")]
    public long? StartLoc { get; set; }
    /// <summary>
    /// 目标位置（比如：堆垛机取胎位）
    /// [wcs_asrs_net_input.target_loc)]
    /// </summary>
    [Column("target_loc")]
    public long? TargetLoc { get; set; }
    /// <summary>
    /// 缓存开始位
    /// [wcs_asrs_net_input.start_cache_loc)]
    /// </summary>
    [Column("start_cache_loc")]
    public long? StartCacheLoc { get; set; }
    /// <summary>
    /// 区域Id
    /// [wcs_asrs_net_input.area_id)]
    /// </summary>
    [Column("area_id")]
    public long? AreaId { get; set; }
    /// <summary>
    /// 堆垛机
    /// [wcs_asrs_net_input.crn_id)]
    /// </summary>
    [Column("crn_id")]
    public long? CrnId { get; set; }
    /// <summary>
    /// 关系分，分数越高约远
    /// [wcs_asrs_net_input.relate_score)]
    /// </summary>
    [Column("relate_score")]
    public int? RelateScore { get; set; }
    /// <summary>
    /// 创建时间
    /// [wcs_asrs_net_input.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [wcs_asrs_net_input.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [wcs_asrs_net_input.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    ///// <summary>
    ///// 1 小胎堆垛机 2大胎堆垛机
    ///// [wcs_asrs_net_input.crn_type)]
    ///// </summary>
    //[Column("crn_type")]
    //public int? CrnType { get; set; }
}
